<template>
  <div v-if="appSetting.footer.show" class="footer-container">
    <div>Copyright © 重庆汇博利农科技有限公司</div>
  </div>
</template>

<script setup lang="ts">
import { useAppSetting } from '@/store'

defineOptions({
  name: 'LayoutCpnFooter'
})

const { appSetting } = useAppSetting()
</script>

<style lang="scss" scoped>
.footer-container {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--el-color-info-light-3);
  font-size: var(--el-link-font-size);
  padding-top: var(--el-main-padding);
  div {
    display: flex;
    align-items: center;
    .el-link {
      margin-left: 10px;
    }
  }
}
</style>
